QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Translate Transforms

Labels

ASCII
Translate
Binary
trns (= 0x74726E73 )

Data Format

Vector3D            translate
translate
A translation in three dimensions, specified by a vector.

Data Size

12

Description

A translate transform moves an object along the x , y , and z axes by the values specified by its translation vector. Thus, the transform Translate ( i j k ) moves each point P = <P x , P y , P z > in its scope to the point P' = <P x + i , P y + j , P z + k >.

Parent Hierarchy

Shared, shape, transform.

Parent Objects

None.

Child Objects

None.

Example

Translate ( -1 1 0 )

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |